$(document).ready(function(){
	loadSelect();
});
/******************加载新闻类别******************************/
function loadSelect(){
	$.ajax({
        type: "post",
        url: "admin/newsType!firstNewsTypeList",
        dataType: "json",
        success: function(data){
            /**新闻类别列表**/
            $.each(data.newsTypeList, function(index, element){
                $("#newsType").append("<option value='"+element.newsTypeId+"'>"+element.name+"</option>");
            });
            
        },
        error: function(data){
            alert("load error");
            return false;
        }
    });
}